package com.juku2024.juku.model;



import java.util.ArrayList;


public class PlayInfoModel implements Comparable<PlayInfoModel>{
    public int down;
    public int id;
    public boolean isPlayError;
    public ArrayList<EpisodesModel> episodes;


    @Override
    public int compareTo(PlayInfoModel o) {
        if (episodes != null && o != null && o.episodes != null) {
            return episodes.size() - o.episodes.size();
        }
        return 0;
    }
}
